package com.azure.bigstore.repository;

import com.azure.bigstore.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by liuhuaibin on 2018/1/23.
 */
public interface UserRepository extends JpaRepository<User,Long> {
    public User findByUsername(String username);
    public User findByUsernameAndPassword(String username,String password);
}
